package carte.population;

import java.awt.Color;
import java.util.List;

import controller.Evolution;

public abstract class Individual implements Evolution {

	public Color texture;
	protected boolean alive;
	
	public enum Interaction{I_DIE, OTHER_DIES, CHILD, NAUGHT};
	
	public Individual(){
		alive = true;
	}
	
	public abstract Interaction interagir(List<Individual> colloc);

	public abstract Interaction battle(Vachmouth i);

	public void kill() {
		alive = false;
	}
	
	public boolean isAlive(){
		return alive;
	}

	public abstract Individual getChild();
}
